package com.tm.model;

public class EcTypeInfo {
    private Integer typeId;

    private Integer typeParentId;

    private Integer typeLevel;

    private String fullIndex;

    private String isLeaf;

    private String typeName;

    private String typeNo;

    private Integer typeOrder;

    private String typeImg;

    private String isDisplay;

    private String isDelete;

    private String addTime;

    private Integer addUserId;

    private String editTime;

    private Integer editUserId;

    private String typeNotes;

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public Integer getTypeParentId() {
        return typeParentId;
    }

    public void setTypeParentId(Integer typeParentId) {
        this.typeParentId = typeParentId;
    }

    public Integer getTypeLevel() {
        return typeLevel;
    }

    public void setTypeLevel(Integer typeLevel) {
        this.typeLevel = typeLevel;
    }

    public String getFullIndex() {
        return fullIndex;
    }

    public void setFullIndex(String fullIndex) {
        this.fullIndex = fullIndex;
    }

    public String getIsLeaf() {
        return isLeaf;
    }

    public void setIsLeaf(String isLeaf) {
        this.isLeaf = isLeaf;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getTypeNo() {
        return typeNo;
    }

    public void setTypeNo(String typeNo) {
        this.typeNo = typeNo;
    }

    public Integer getTypeOrder() {
        return typeOrder;
    }

    public void setTypeOrder(Integer typeOrder) {
        this.typeOrder = typeOrder;
    }

    public String getTypeImg() {
        return typeImg;
    }

    public void setTypeImg(String typeImg) {
        this.typeImg = typeImg;
    }

    public String getIsDisplay() {
        return isDisplay;
    }

    public void setIsDisplay(String isDisplay) {
        this.isDisplay = isDisplay;
    }

    public String getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(String isDelete) {
        this.isDelete = isDelete;
    }

    public String getAddTime() {
        return addTime;
    }

    public void setAddTime(String addTime) {
        this.addTime = addTime;
    }

    public Integer getAddUserId() {
        return addUserId;
    }

    public void setAddUserId(Integer addUserId) {
        this.addUserId = addUserId;
    }

    public String getEditTime() {
        return editTime;
    }

    public void setEditTime(String editTime) {
        this.editTime = editTime;
    }

    public Integer getEditUserId() {
        return editUserId;
    }

    public void setEditUserId(Integer editUserId) {
        this.editUserId = editUserId;
    }

    public String getTypeNotes() {
        return typeNotes;
    }

    public void setTypeNotes(String typeNotes) {
        this.typeNotes = typeNotes;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        EcTypeInfo other = (EcTypeInfo) that;
        return (this.getTypeId() == null ? other.getTypeId() == null : this.getTypeId().equals(other.getTypeId()))
            && (this.getTypeParentId() == null ? other.getTypeParentId() == null : this.getTypeParentId().equals(other.getTypeParentId()))
            && (this.getTypeLevel() == null ? other.getTypeLevel() == null : this.getTypeLevel().equals(other.getTypeLevel()))
            && (this.getFullIndex() == null ? other.getFullIndex() == null : this.getFullIndex().equals(other.getFullIndex()))
            && (this.getIsLeaf() == null ? other.getIsLeaf() == null : this.getIsLeaf().equals(other.getIsLeaf()))
            && (this.getTypeName() == null ? other.getTypeName() == null : this.getTypeName().equals(other.getTypeName()))
            && (this.getTypeNo() == null ? other.getTypeNo() == null : this.getTypeNo().equals(other.getTypeNo()))
            && (this.getTypeOrder() == null ? other.getTypeOrder() == null : this.getTypeOrder().equals(other.getTypeOrder()))
            && (this.getTypeImg() == null ? other.getTypeImg() == null : this.getTypeImg().equals(other.getTypeImg()))
            && (this.getIsDisplay() == null ? other.getIsDisplay() == null : this.getIsDisplay().equals(other.getIsDisplay()))
            && (this.getIsDelete() == null ? other.getIsDelete() == null : this.getIsDelete().equals(other.getIsDelete()))
            && (this.getAddTime() == null ? other.getAddTime() == null : this.getAddTime().equals(other.getAddTime()))
            && (this.getAddUserId() == null ? other.getAddUserId() == null : this.getAddUserId().equals(other.getAddUserId()))
            && (this.getEditTime() == null ? other.getEditTime() == null : this.getEditTime().equals(other.getEditTime()))
            && (this.getEditUserId() == null ? other.getEditUserId() == null : this.getEditUserId().equals(other.getEditUserId()))
            && (this.getTypeNotes() == null ? other.getTypeNotes() == null : this.getTypeNotes().equals(other.getTypeNotes()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getTypeId() == null) ? 0 : getTypeId().hashCode());
        result = prime * result + ((getTypeParentId() == null) ? 0 : getTypeParentId().hashCode());
        result = prime * result + ((getTypeLevel() == null) ? 0 : getTypeLevel().hashCode());
        result = prime * result + ((getFullIndex() == null) ? 0 : getFullIndex().hashCode());
        result = prime * result + ((getIsLeaf() == null) ? 0 : getIsLeaf().hashCode());
        result = prime * result + ((getTypeName() == null) ? 0 : getTypeName().hashCode());
        result = prime * result + ((getTypeNo() == null) ? 0 : getTypeNo().hashCode());
        result = prime * result + ((getTypeOrder() == null) ? 0 : getTypeOrder().hashCode());
        result = prime * result + ((getTypeImg() == null) ? 0 : getTypeImg().hashCode());
        result = prime * result + ((getIsDisplay() == null) ? 0 : getIsDisplay().hashCode());
        result = prime * result + ((getIsDelete() == null) ? 0 : getIsDelete().hashCode());
        result = prime * result + ((getAddTime() == null) ? 0 : getAddTime().hashCode());
        result = prime * result + ((getAddUserId() == null) ? 0 : getAddUserId().hashCode());
        result = prime * result + ((getEditTime() == null) ? 0 : getEditTime().hashCode());
        result = prime * result + ((getEditUserId() == null) ? 0 : getEditUserId().hashCode());
        result = prime * result + ((getTypeNotes() == null) ? 0 : getTypeNotes().hashCode());
        return result;
    }
}